package Bai11;

public class SinhVien {
	private String id, ten, lop, ngaySinh;
	private double diem;

	public SinhVien(String id, String ten, String lop, String ngaySinh,
			double diem) {

		this.id = id;
		this.ten = ten;
		this.lop = lop;
		this.ngaySinh = ngaySinh;
		this.diem = diem;
		
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getTen() {
		return ten;
	}

	public void setTen(String ten) {
		this.ten = ten;
	}

	public String getLop() {
		return lop;
	}

	public void setLop(String lop) {
		this.lop = lop;
	}

	public String getNgaySinh() {
		return ngaySinh;
	}

	public void setNgaySinh(String ngaySinh) {
		this.ngaySinh = ngaySinh;
	}

	public double getDiem() {
		return diem;
	}

	public void setDiem(double diem) {
		this.diem = diem;
	}
	public String toString(){
		return this.id + "-" + this.ten + "-" + this.lop + "-" + this.ngaySinh + "-" + this.diem;
	}
	

}
